package cn.ecnu.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@AllArgsConstructor
@Data
public class UrlGenerator {
    private String prefix;
    private Integer pageNum;

    public String getUrl() {
        return prefix + "?pageNum=" + pageNum;
    }
}
